package chkui.springcore.example.javabase.conversion.entity;

public class Phone extends Device {
	String name;
	String cpu;
	String ram;

	public String getCpu() {
		return cpu;
	}

	public String getRam() {
		return ram;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public void setRam(String ram) {
		this.ram = ram;
	}

	@Override
	String getName() {
		return this.name;
	}

	@Override
	public String toString() {
		return "Phone [name=" + name + ", cpu=" + cpu + ", ram=" + ram + "]";
	}
}
